
#ifndef _BASE64_H__INCLUDED_
#define _BASE64_H__INCLUDED_

#include <string>

namespace smartvoice {

class Base64
{
public:
	static std::string Encode(const char*);
	static std::string Decode(const char*);

	static std::string Encode(const char*, unsigned int);
	static std::string Decode(const char*, unsigned int);

	static std::string Encode(const std::string &);
	static std::string Decode(const std::string &);
};

} // namespace smartvoice

#endif // _BASE64_H__INCLUDED_

